<html><head><title>NextPreferenceGroup</title></head>
<body bgcolor="#EFF1F0" link="#3A3966" vlink="#000000" alink="#000000">
<font face="Verdana, sans-serif" size="2"><p align="center"><b><font size="4">NextPreferenceGroup()</font></b></p>
<p><b>Syntax</b></p><blockquote>
Result = <font color="#3A3966"><b>NextPreferenceGroup</b></font>()</blockquote>

</blockquote>
<b>Description</b><br><blockquote>

Retrieves information about the next group found in the enumeration started with <a href="examinepreferencegroups.html">ExaminePreferenceGroups()</a>. 
To get the name of the group, use <a href="preferencegroupname.html">PreferenceGroupName()</a>. The current examined preference group will also be used 
when values are read from the preferences or when the keys are examined with <a href="examinepreferencekeys.html">ExaminePreferenceKeys()</a>. 

</blockquote><p><b>Parameters</b></p><blockquote>
None.


</blockquote><p><b>Return value</b></p><blockquote>

Nonzero if more groups are available in the current enumeration, zero otherwise. 

</blockquote><p><b>Example</b></p><blockquote>

<pre><font face="Courier New, Courier, mono"size="2">  <font color="#3A3966">; Open a preference file</font>
<font color="#3A3966">  OpenPreferences</font>(<font color="#924B72">#PB_Compiler_Home</font> +&quot;Examples\Sources\Data\test.pref&quot;)
  
  <font color="#3A3966">; Examine groups</font>
<font color="#3A3966">  ExaminePreferenceGroups</font>()
  <b><font color="#3A3966">While</font></b> <font color="#3A3966">NextPreferenceGroup</font>() <font color="#3A3966">; While group exists</font>
<font color="#3A3966">    MessageRequester</font>(&quot;Groups&quot;,<font color="#3A3966"> PreferenceGroupName</font>())  <font color="#3A3966">; Display this group</font>
  <b><font color="#3A3966">Wend</font></b>
  
  <font color="#3A3966">; Close the preference file</font>
<font color="#3A3966">  ClosePreferences</font>() 
</font></pre>

</blockquote><p><b>See Also</b></p><blockquote>

<a href="examinepreferencegroups.html">ExaminePreferenceGroups()</a>, <a href="preferencegroupname.html">PreferenceGroupName()</a>, <a href="examinepreferencekeys.html">ExaminePreferenceKeys()</a> 

</Blockquote><p><b>Supported OS </b><Blockquote>All</Blockquote></p><center><- <a href=flushpreferencebuffer.html>FlushPreferenceBuffer()</a> - <a href="index.html">Preference Index</a> - <a href="nextpreferencekey.html">NextPreferenceKey()</a> -><br><br>

</body></html>